package com.shop.item.atom.dao;

import com.shop.common.entity.item.ItemComment;
import com.shop.common.model.param.item.ItemCommentInput;
import com.shop.common.model.result.item.ItemCommentOutput;

import java.util.List;

public interface ItemCommentMapper {
    /**
     *
     * @mbggenerated 2019-02-28
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insert(ItemComment record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int insertSelective(ItemComment record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    ItemComment selectByPrimaryKey(Integer id);

    List<ItemCommentOutput> selectList(ItemCommentInput commentInput);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKeySelective(ItemComment record);

    /**
     *
     * @mbggenerated 2019-02-28
     */
    int updateByPrimaryKey(ItemComment record);
}